package com.tonggedata.dataapi.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;

/**
 * api策略表与api关系表
 *
 * @author tonggedata
 * @date 2022-06-19 12:59:37
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "`api_relation_strategy_api`" , autoResultMap = true)
public class ApiRelationStrategyApi extends Model<ApiRelationStrategyApi> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    @TableField(value = "`id`" )
    private Long id;
    /**
     *
     */
    @TableField(value = "`strategy_id`" )
    private Long strategyId;
    /**
     *
     */
    @TableField(value = "`api_id`" )
    private Long apiId;
    /**
     * 创建人
     */
    @TableField(value = "`create_user`" )
    private String createUser;
    /**
     * 更新人
     */
    @TableField(value = "`update_user`" )
    private String updateUser;
    /**
     * 创建时间
     */
    @TableField(value = "`create_time`" )
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "`update_time`" )
    private Date updateTime;

}
